package com.xing.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.checkerframework.checker.units.qual.A;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LiveRoomDTO {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 主播id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long anchorId;

    /**
     * 房间号
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long roomNumber;

    /**
     * 房间简介
     */
    private String info;

    /**
     * 房间封面路径
     */
    private String url;

    /**
     * 公告
     */
    private String notice;


    /**
     * 是否开播（0:开播，1:未开播）
     */
    private int broadcastFlag;


    /**
     * 启动状态（0:启动，1:禁用）
     */
    private int status;

    /**
     * 标签拼接字符串
     */
    private String tags;

    /**
     * 标签集合
     */
    private List<String> tagList;

    private List<LiveTagDTO> liveTags;

    private SysUserDTO anchor;

    private Integer isAttention;

}
